(function () {
    "use strict";
    var __webpack_modules__ = {
        "./src/js/math.js": function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
            console.log("__unused_webpack_module", __unused_webpack_module);
            console.log("__webpack_exports__", __webpack_exports__);
            console.log("__webpack_require__", __webpack_require__);
            __webpack_require__.r(__webpack_exports__); // 设置esmodule的值为true
            __webpack_require__.d(__webpack_exports__, {
                // 实现代理,最终拿到的是一个函数
                mul: function () {
                    return mul;
                },
                sum: function () {
                    return sum;
                }
            });
            // ES6 的方式进行导出
            const sum = (num1, num2) => {
                return num1 + num2;
            };

            const mul = (num1, num2) => {
                return num1 * num2;
            };
        }
    };
    var __webpack_module_cache__ = {};
    function __webpack_require__(moduleId) {
        var cachedModule = __webpack_module_cache__[moduleId];
        if (cachedModule !== undefined) {
            return cachedModule.exports;
        }
        // 缓存中没有这个值的时候
        var module = (__webpack_module_cache__[moduleId] = {
            exports: {}
        });
        // 拿到__webpack_modules__中的函数并且执行
        __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
        return module.exports;
    }
    !(function () {
        // 相当于给exports设置了一个代理,
        __webpack_require__.d = function (exports, definition) {
            console.log(definition, "definition");
            for (var key in definition) {
                if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
                    // 这里最终做了一个代理,最终拿到的值是传入的definition中的值
                    Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
                }
            }
        };
    })();
    !(function () {
        // 定义了一个o的属性,判断obj上是否有prop属性
        __webpack_require__.o = function (obj, prop) {
            // call的第一个参数obj,表示是指向的this的值,后续是传入的参数
            return Object.prototype.hasOwnProperty.call(obj, prop);
        };
    })();
    !(function () {
        __webpack_require__.r = function (exports) {
            if (typeof Symbol !== "undefined" && Symbol.toStringTag) {
                Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
            }
            Object.defineProperty(exports, "__esModule", { value: true });
            console.log(exports, "exports");
        };
    })();

    var __webpack_exports__ = {};
    __webpack_require__.r(__webpack_exports__);
    var _js_math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./src/js/math.js");

    console.log((0, _js_math_js__WEBPACK_IMPORTED_MODULE_0__.sum)(30, 20));
    console.log((0, _js_math_js__WEBPACK_IMPORTED_MODULE_0__.mul)(20, 30));
})();
